package com.wingsboat.common.filterChain.filter.selector;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author: wangzhong
 * @Date: 2023/11/16 21:02
 * @Description:
 **/

public class WbBaseFilterSelector implements FilterSelector {
    private List<String> filterNames = new ArrayList<String>();
    public boolean matchFilter(String currentFilterName) {
        return filterNames.contains(currentFilterName);
    }

    public List<String> getFilterNames() {
        return filterNames;
    }
}
